package com.kt.kvw.exception;

import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Desc:
 *
 * @author: keen
 * Date: 2020-07-12
 * Time: 14:33
 */
@Data
public class IDGeneratorException extends RuntimeException {

    private int code;

    public IDGeneratorException(String message) {
        super(message);
    }

    public IDGeneratorException(int code, String message) {
        super(message);
        this.code = code;
    }

    public IDGeneratorException(String message, Throwable t) {
        super(message, t);
    }
}
